package org.jeecg.modules.medical.mapap.entity;

import lombok.Data;
import org.jeecg.modules.medical.areaManage.entity.Area;

import java.util.List;

@Data
public class MapArea {
    private String value;
    private String label;
    private String id;

    private List<MapArea> children;

    public MapArea(Area area) {
        this.value = area.getName();
        this.label = area.getName();
        this.id=area.getId();
    }
}
